Documentation for routine < >
assembled from the following pages:
Language documentation: Operators §
From Operators
(Operators) term < > §
The quote-words construct breaks up the contents on whitespace and returns a List of the words. If a word looks like a number literal or a Pair
literal, it's converted to the appropriate number.
say <a b c>[1]; # OUTPUT: «b»
Language documentation: Operators §
From Operators
(Operators) postcircumfix < > §
Shortcut for postcircumfix { }
that quotes its argument using the same rules as the quote-words operator of the same name.
my = kiwi => "green", banana => "yellow", cherry => "red";say <banana>; # OUTPUT: «yellow» say <cherry kiwi>.raku; # OUTPUT: «("red", "green")» say <strawberry>:exists; # OUTPUT: «False»
Technically, not a real operator; it's syntactic sugar that's turned into the { }
postcircumfix operator at compile-time.